﻿using System.ComponentModel.DataAnnotations;

namespace Demo.Domains.Entities.Sys;

/// <summary>
/// 用户类型
/// </summary>
public enum UserType
{
	/// <summary>
	/// 用户
	/// </summary>
	[Display(Name = "普通用户")]
	User = 1,
	/// <summary>
	/// 超级管理员
	/// </summary>
	[Display(Name = "超级管理员")]
	SuperAdministrator = 99
}


/// <summary>
/// 菜单类型
/// </summary>
public enum MenuType
{
	[Display(Name = "菜单")]
	Menu = 1,
	[Display(Name = "按钮")]
	Button = 2
}